home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / devel / libx11 / include / x11 / xkw / thermo.h < prev    next >
C/C++ Source or Header  |  1999-01-01  |  3KB  |  92 lines

  1. /* $XConsortium: Thermo.h,v 1.5 90/12/19 18:46:00 converse Exp $ */
  2.  
  3. /* Copyright    Massachusetts Institute of Technology    1987, 1988
  4.  *
  5.  * Permission to use, copy, modify, distribute, and sell this software and its
  6.  * documentation for any purpose is hereby granted without fee, provided that
  7.  * the above copyright notice appear in all copies and that both that
  8.  * copyright notice and this permission notice appear in supporting
  9.  * documentation, and that the name of M.I.T. not be used in advertising or
  10.  * publicity pertaining to distribution of the software without specific,
  11.  * written prior permission.  M.I.T. makes no representations about the
  12.  * suitability of this software for any purpose.  It is provided "as is"
  13.  * without express or implied warranty.
  14.  *
  15.  * M.I.T. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
  16.  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL M.I.T.
  17.  * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  18.  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
  19.  * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  20.  * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  21.  *
  22.  */
  23.  
  24. #ifndef _Thermo_h
  25. #define _Thermo_h
  26.  
  27. /****************************************************************
  28.  *
  29.  * Thermo widget
  30.  *
  31.  ****************************************************************/
  32.  
  33. /* Resources:
  34.  
  35.  Name             Class        RepType        Default Value
  36.  ----             -----        -------        -------------
  37.  background         Background        Pixel        XtDefaultBackground
  38.  border             BorderColor    Pixel        XtDefaultForeground
  39.  borderWidth         BorderWidth    Dimension    1
  40.  destroyCallback     Callback        Pointer        NULL
  41.  height             Height        Dimension    0
  42.  mappedWhenManaged   MappedWhenManaged    Boolean        True
  43.  sensitive         Sensitive        Boolean        True
  44.  width             Width        Dimension    0
  45.  x             Position        Position    0
  46.  y             Position        Position    0
  47.  
  48. */
  49.  
  50. /* define any special resource names here that are not in <X11/StringDefs.h> */
  51.  
  52. #define XtNmercuryColor    "mercuryColor"
  53. #define XtNtextColor    "textColor"
  54. #define XtNtickColor    "tickColor"
  55. #define XtNminimum    "minimum"
  56. #define XtCMinimum    "Minimum"
  57. #define XtNmaximum    "maximum"
  58. #define XtCMaximum    "Maximum"
  59. #define XtNcurrent    "current"
  60. #define XtCCurrent    "Current"
  61. #define XtNminorStep    "minorStep"
  62. #define XtCMinorStep    "MinorStep"
  63. #define XtNmajorStep    "majorStep"
  64. #define XtCMajorStep    "MajorStep"
  65. #define XtNminorStart    "minorStart"
  66. #define XtCMinorStart    "MinorStart"
  67. #define XtNmajorStart    "majorStart"
  68. #define XtCMajorStart    "MajorStart"
  69. #define XtNstartPad    "startPad"
  70. #define XtCStartPad    "StartPad"
  71. #define XtNendPad    "endPad"
  72. #define XtCEndPad    "EndPad"
  73. #define XtNminorTickLen    "minorTickLen"
  74. #define XtCMinorTickLen    "MinorTickLen"
  75. #define XtNmajorTickLen    "majorTickLen"
  76. #define XtCMajorTickLen    "MajorTickLen"
  77. #define XtNvertical    "vertical"
  78. #define XtCVertical    "Vertical"
  79.  
  80. #define ThermoUnspecified   (32765)
  81.  
  82. /* declare specific ThermoWidget class and instance datatypes */
  83.  
  84. typedef struct _ThermoClassRec*        ThermoWidgetClass;
  85. typedef struct _ThermoRec*        ThermoWidget;
  86.  
  87. /* declare the class constant */
  88.  
  89. extern WidgetClass thermoWidgetClass;
  90.  
  91. #endif /* _Thermo_h */
  92.